// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * LogisticsChannelFreight
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "logistics_channel_freight", autoResultMap = true)
@Schema(title = "物流渠道运费规则")
public class LogisticsChannelFreight implements Serializable {

  /**
   * 所属物流渠道
   */
  @TableField(value = "`parent_logistics_channel`")
  @JoinField(LogisticsChannel.class)
  @Schema(title = "所属物流渠道")
  private Long parentLogisticsChannel;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 地区
   */
  @TableField(value = "`area`")
  @Schema(title = "地区")
  private String area;

  /**
   * 12kg+
   */
  @TableField(value = "`kg12`")
  @Schema(title = "12kg+")
  private String kg12;

  /**
   * 12kg+币种
   */
  @TableField(value = "`kg12_currency`")
  @Schema(title = "12kg+币种")
  private String kg12Currency;

  /**
   * 21kg+
   */
  @TableField(value = "`kg21`")
  @Schema(title = "21kg+")
  private String kg21;

  /**
   * 21kg+币种
   */
  @TableField(value = "`kg21_currency`")
  @Schema(title = "21kg+币种")
  private String kg21Currency;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 71kg+
   */
  @TableField(value = "`kg71`")
  @Schema(title = "71kg+")
  private String kg71;

  /**
   * 71kg+币种
   */
  @TableField(value = "`kg71_currency`")
  @Schema(title = "71kg+币种")
  private String kg71Currency;
}
